package com.lzy.principles.demo3;

import lombok.Setter;

/**
 * @ClassName: Agent
 * @Description: 经纪人
 * @Author: LiuZy
 * @Date: 2022/4/9 16:46
 * @Version: 1.0
 */
@Setter
public class Agent {

    private Star star;
    private Fans fans;
    private Company company;

    public void meeting(){
        System.out.println(String.format("明星%s和粉丝%s见面会", this.star.getName(), this.fans.getName()));
    }

    public void business(){
        System.out.println(String.format("明星%s与公司%s洽谈业务", this.star.getName(), this.company.getName()));
    }
}